<?php
namespace App\Aspect;

use Hyperf\Di\Annotation\Aspect;
use Hyperf\Di\Aop\AbstractAspect;
use Hyperf\Di\Aop\ProceedingJoinPoint;


class CommonAspect extends AbstractAspect
{

    public $classes = [
        'App\Controller\IndexController',
    ];

    public function process(ProceedingJoinPoint $proceedingJoinPoint)
    {
        print_r('测试a');
        $result = $proceedingJoinPoint->process();
        return $result;
    }
}
